﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Supermarket.Bll;

namespace Supermarket.Web.CashierPages
{
    public partial class Categories : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void odsCategories_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
        {
            if (!e.ExceptionHandled)
            {
                LabelError.Text = "Максимална дължина за име: 50 символа!";
                e.ExceptionHandled = true;
            }
            
        }
    }
}